package com.baba.bracelet.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author wulongbo
 * @version 1.0
 * @date 2020/6/13 17:28
 * @description
 */
@Data
@TableName("tbl_certificate_type")//@TableName中的值对应着表名
@ApiModel(value = "护照类型")
public class CertificateEntity {

    /**
     * 编号
     */
    @ApiModelProperty(value = "主键id", name = "id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * Code值
     */
    @ApiModelProperty(value = "Code值", name = "value")
    private String value;

    /**
     * 护照描述信息
     */
    @ApiModelProperty(value = "护照描述信息", name = "description")
    private String description;

    /**
     * int值
     */
    @ApiModelProperty(value = "int值", name = "intvalue")
    private Integer intvalue;

}
